package com.wframe.project.former.dataservices.information.dao;

import com.frame.database.JBaseDao;
import com.frame.database.JdataBean;
import com.frame.database.PageResult;

import java.util.ArrayList;
import java.util.List;

public class SkeywordDao extends JBaseDao{

	public SkeywordDao(){
		super("wb_search_keyword");
	}
	public PageResult queryKeyword(JdataBean pamrs, int size, int pageno) throws Exception{
		String sql = "select * from wb_search_keyword order by orderno desc,id desc";
		List parmlist = new ArrayList();
		return getSession().query2(sql, parmlist, size, pageno);
	}
}
